Total Complexity | 26 |
Dependencies | 8 |
Dependents | 0 |
Total lines | 206 |
Lines of code | 112 |
Logical lines of code | 70 |
Comment lines | 65 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_cart() | 46 | 8 | 41 | |
validate_item_qty() | 61 | 5 | 12 | |
add() | 49 | 3 | 31 | |
validate_cart_request() | 76 | 5 | 3 | |
get_cart_instance() | 65 | 3 | 8 | |
remove() | 63 | 1 | 11 | |
__construct() | 70 | 1 | 6 |